package com.datang.pet.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class PetExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PetExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdIsNull() {
            addCriterion("belong_user_id is null");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdIsNotNull() {
            addCriterion("belong_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdEqualTo(String value) {
            addCriterion("belong_user_id =", value, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdNotEqualTo(String value) {
            addCriterion("belong_user_id <>", value, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdGreaterThan(String value) {
            addCriterion("belong_user_id >", value, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("belong_user_id >=", value, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdLessThan(String value) {
            addCriterion("belong_user_id <", value, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdLessThanOrEqualTo(String value) {
            addCriterion("belong_user_id <=", value, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdLike(String value) {
            addCriterion("belong_user_id like", value, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdNotLike(String value) {
            addCriterion("belong_user_id not like", value, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdIn(List<String> values) {
            addCriterion("belong_user_id in", values, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdNotIn(List<String> values) {
            addCriterion("belong_user_id not in", values, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdBetween(String value1, String value2) {
            addCriterion("belong_user_id between", value1, value2, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andBelongUserIdNotBetween(String value1, String value2) {
            addCriterion("belong_user_id not between", value1, value2, "belongUserId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(String value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(String value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(String value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(String value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(String value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(String value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLike(String value) {
            addCriterion("gender like", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotLike(String value) {
            addCriterion("gender not like", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<String> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<String> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(String value1, String value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(String value1, String value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andBreedIsNull() {
            addCriterion("breed is null");
            return (Criteria) this;
        }

        public Criteria andBreedIsNotNull() {
            addCriterion("breed is not null");
            return (Criteria) this;
        }

        public Criteria andBreedEqualTo(String value) {
            addCriterion("breed =", value, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedNotEqualTo(String value) {
            addCriterion("breed <>", value, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedGreaterThan(String value) {
            addCriterion("breed >", value, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedGreaterThanOrEqualTo(String value) {
            addCriterion("breed >=", value, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedLessThan(String value) {
            addCriterion("breed <", value, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedLessThanOrEqualTo(String value) {
            addCriterion("breed <=", value, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedLike(String value) {
            addCriterion("breed like", value, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedNotLike(String value) {
            addCriterion("breed not like", value, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedIn(List<String> values) {
            addCriterion("breed in", values, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedNotIn(List<String> values) {
            addCriterion("breed not in", values, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedBetween(String value1, String value2) {
            addCriterion("breed between", value1, value2, "breed");
            return (Criteria) this;
        }

        public Criteria andBreedNotBetween(String value1, String value2) {
            addCriterion("breed not between", value1, value2, "breed");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("birthday is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(Date value) {
            addCriterionForJDBCDate("birthday =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(Date value) {
            addCriterionForJDBCDate("birthday <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(Date value) {
            addCriterionForJDBCDate("birthday >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("birthday >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(Date value) {
            addCriterionForJDBCDate("birthday <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("birthday <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<Date> values) {
            addCriterionForJDBCDate("birthday in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<Date> values) {
            addCriterionForJDBCDate("birthday not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("birthday between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("birthday not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andStapleIsNull() {
            addCriterion("staple is null");
            return (Criteria) this;
        }

        public Criteria andStapleIsNotNull() {
            addCriterion("staple is not null");
            return (Criteria) this;
        }

        public Criteria andStapleEqualTo(String value) {
            addCriterion("staple =", value, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleNotEqualTo(String value) {
            addCriterion("staple <>", value, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleGreaterThan(String value) {
            addCriterion("staple >", value, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleGreaterThanOrEqualTo(String value) {
            addCriterion("staple >=", value, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleLessThan(String value) {
            addCriterion("staple <", value, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleLessThanOrEqualTo(String value) {
            addCriterion("staple <=", value, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleLike(String value) {
            addCriterion("staple like", value, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleNotLike(String value) {
            addCriterion("staple not like", value, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleIn(List<String> values) {
            addCriterion("staple in", values, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleNotIn(List<String> values) {
            addCriterion("staple not in", values, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleBetween(String value1, String value2) {
            addCriterion("staple between", value1, value2, "staple");
            return (Criteria) this;
        }

        public Criteria andStapleNotBetween(String value1, String value2) {
            addCriterion("staple not between", value1, value2, "staple");
            return (Criteria) this;
        }

        public Criteria andSnacksIsNull() {
            addCriterion("snacks is null");
            return (Criteria) this;
        }

        public Criteria andSnacksIsNotNull() {
            addCriterion("snacks is not null");
            return (Criteria) this;
        }

        public Criteria andSnacksEqualTo(String value) {
            addCriterion("snacks =", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksNotEqualTo(String value) {
            addCriterion("snacks <>", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksGreaterThan(String value) {
            addCriterion("snacks >", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksGreaterThanOrEqualTo(String value) {
            addCriterion("snacks >=", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksLessThan(String value) {
            addCriterion("snacks <", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksLessThanOrEqualTo(String value) {
            addCriterion("snacks <=", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksLike(String value) {
            addCriterion("snacks like", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksNotLike(String value) {
            addCriterion("snacks not like", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksIn(List<String> values) {
            addCriterion("snacks in", values, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksNotIn(List<String> values) {
            addCriterion("snacks not in", values, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksBetween(String value1, String value2) {
            addCriterion("snacks between", value1, value2, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksNotBetween(String value1, String value2) {
            addCriterion("snacks not between", value1, value2, "snacks");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdIsNull() {
            addCriterion("former_user_id is null");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdIsNotNull() {
            addCriterion("former_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdEqualTo(String value) {
            addCriterion("former_user_id =", value, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdNotEqualTo(String value) {
            addCriterion("former_user_id <>", value, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdGreaterThan(String value) {
            addCriterion("former_user_id >", value, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("former_user_id >=", value, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdLessThan(String value) {
            addCriterion("former_user_id <", value, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdLessThanOrEqualTo(String value) {
            addCriterion("former_user_id <=", value, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdLike(String value) {
            addCriterion("former_user_id like", value, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdNotLike(String value) {
            addCriterion("former_user_id not like", value, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdIn(List<String> values) {
            addCriterion("former_user_id in", values, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdNotIn(List<String> values) {
            addCriterion("former_user_id not in", values, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdBetween(String value1, String value2) {
            addCriterion("former_user_id between", value1, value2, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andFormerUserIdNotBetween(String value1, String value2) {
            addCriterion("former_user_id not between", value1, value2, "formerUserId");
            return (Criteria) this;
        }

        public Criteria andSequenceIsNull() {
            addCriterion("sequence is null");
            return (Criteria) this;
        }

        public Criteria andSequenceIsNotNull() {
            addCriterion("sequence is not null");
            return (Criteria) this;
        }

        public Criteria andSequenceEqualTo(Integer value) {
            addCriterion("sequence =", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotEqualTo(Integer value) {
            addCriterion("sequence <>", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceGreaterThan(Integer value) {
            addCriterion("sequence >", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceGreaterThanOrEqualTo(Integer value) {
            addCriterion("sequence >=", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceLessThan(Integer value) {
            addCriterion("sequence <", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceLessThanOrEqualTo(Integer value) {
            addCriterion("sequence <=", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceIn(List<Integer> values) {
            addCriterion("sequence in", values, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotIn(List<Integer> values) {
            addCriterion("sequence not in", values, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceBetween(Integer value1, Integer value2) {
            addCriterion("sequence between", value1, value2, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotBetween(Integer value1, Integer value2) {
            addCriterion("sequence not between", value1, value2, "sequence");
            return (Criteria) this;
        }

        public Criteria andPictrueIsNull() {
            addCriterion("pictrue is null");
            return (Criteria) this;
        }

        public Criteria andPictrueIsNotNull() {
            addCriterion("pictrue is not null");
            return (Criteria) this;
        }

        public Criteria andPictrueEqualTo(String value) {
            addCriterion("pictrue =", value, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueNotEqualTo(String value) {
            addCriterion("pictrue <>", value, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueGreaterThan(String value) {
            addCriterion("pictrue >", value, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueGreaterThanOrEqualTo(String value) {
            addCriterion("pictrue >=", value, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueLessThan(String value) {
            addCriterion("pictrue <", value, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueLessThanOrEqualTo(String value) {
            addCriterion("pictrue <=", value, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueLike(String value) {
            addCriterion("pictrue like", value, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueNotLike(String value) {
            addCriterion("pictrue not like", value, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueIn(List<String> values) {
            addCriterion("pictrue in", values, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueNotIn(List<String> values) {
            addCriterion("pictrue not in", values, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueBetween(String value1, String value2) {
            addCriterion("pictrue between", value1, value2, "pictrue");
            return (Criteria) this;
        }

        public Criteria andPictrueNotBetween(String value1, String value2) {
            addCriterion("pictrue not between", value1, value2, "pictrue");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIsNull() {
            addCriterion("register_date is null");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIsNotNull() {
            addCriterion("register_date is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterDateEqualTo(Date value) {
            addCriterion("register_date =", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotEqualTo(Date value) {
            addCriterion("register_date <>", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateGreaterThan(Date value) {
            addCriterion("register_date >", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateGreaterThanOrEqualTo(Date value) {
            addCriterion("register_date >=", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateLessThan(Date value) {
            addCriterion("register_date <", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateLessThanOrEqualTo(Date value) {
            addCriterion("register_date <=", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIn(List<Date> values) {
            addCriterion("register_date in", values, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotIn(List<Date> values) {
            addCriterion("register_date not in", values, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateBetween(Date value1, Date value2) {
            addCriterion("register_date between", value1, value2, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotBetween(Date value1, Date value2) {
            addCriterion("register_date not between", value1, value2, "registerDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}